package tech.shanma.grain.controller;

import java.util.Date;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/generator")
public class [(${className})]Controller extends BaseController {

    @Autowired
    [(${className})]Mapper [(${className})]Mapper;

    /**
     *
     * @return [(${remark})]
     */
    @[(${restful})]("/[(${routing})]")
    public R [(${methodName})]() {
        List<Map<String, Object>> list = [(${className})]Mapper.[(${methodName})]();
        return R.success(list);
    }


}